package common.exceptions;

import java.nio.channels.SocketChannel;

public class ClientConnectionException extends Exception {

	private static final long serialVersionUID = 8648125288963158812L;

	public SocketChannel channel;
	
	public ClientConnectionException(Throwable e, SocketChannel channel) {
		super(e);
		this.channel = channel;
	}
	

	public ClientConnectionException(SocketChannel _channel) {
		this(null,_channel);
	}

}
